//
//  UIBarButtonItem+CZAddition.h
//  ComfortTrip
//
//  Created by 钱小树 on 2016/12/27.
//  Copyright © 2016年 钱小树. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CIButton+layoutExtent.h"

@interface UIBarButtonItem (CZAddition)

/**
 barButtonItem

 @param image 图片
 @param highImage 高亮图片
 @param target self
 @param action 回调
 @return barButtonItem
 */
+ (instancetype)cz_itemWithImage:(NSString *)image
                       highImage:(NSString *)highImage
                          target:(id)target
                          action:(SEL)action;

+ (instancetype)cz_itemWithTitle:(NSString* )title
                          target:(id)target
                          action:(SEL)action;

+ (instancetype)cz_itemWithTitle:(NSString* )title
                     selectTitle:(NSString* )selectTitle
                          target:(id)target
                          action:(SEL)action;

+ (instancetype)cz_itemWithLongTitle:(NSString* )title
                              target:(id)target
                              action:(SEL)action;


+ (instancetype)cz_itemWithTitlde:(NSString* )title
                            image:(NSString* )image
                      arrangeType:(CIButtonLayoutType )arrangeType
                            space:(float )space
                           target:(id)target
                           action:(SEL)action;
@end
